﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PCBAging.ascx.cs" Inherits="UserControl_PCBAging" %>
<style type="text/css">
    .style1
    {
        width: 643px;
        height: 394px;
        text-align:center;
    }
</style>
<div style=" width:652px; text-align:center; border:1px solid Black;">
    <table class="style1">
        <tr>
            <td>
                <b>录入操作相关数据：</b></td>
            <td>
                <b>PCB序列号：</b></td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False" 
                    BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                    CellPadding="3" ForeColor="Black" GridLines="Vertical" Height="50px" 
                    Width="322px" ondatabound="DetailsView2_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="PCBTypeID" HeaderText="产品类型" >
                            <ItemStyle Width="60%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Amount" HeaderText="PCBA数量" />
                        <asp:BoundField DataField="InputTime" HeaderText="录入时间" 
                            DataFormatString="{0:G}" />
                        <asp:BoundField DataField="UserID" HeaderText="数据录入操作员" />
                        <asp:BoundField DataField="FirmwareVersion" HeaderText="固件版本号" />
                        <asp:BoundField HeaderText="老化时长" />
                        <asp:BoundField HeaderText="老化温度" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td rowspan="5">
                <asp:ListBox ID="ListBox1" runat="server" Height="345px" Width="220px">
                </asp:ListBox>
            </td>
        </tr>
        <tr>
            <td>
                <b>进箱操作相关数据：</b></td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView4" runat="server" AutoGenerateRows="False" 
                    BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                    CellPadding="3" ForeColor="Black" GridLines="Vertical" Height="50px" 
                    Width="322px" ondatabound="DetailsView4_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="InBoxTime" HeaderText="进箱时间" 
                            DataFormatString="{0:G}" >
                            <ItemStyle Width="60%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="InBoxUser" HeaderText="进箱操作员" />
                        <asp:BoundField DataField="InBoxU" HeaderText="进箱电压" />
                        <asp:BoundField DataField="InBoxI" HeaderText="进箱电流" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
        </tr>
        <tr>
            <td style="font-weight: 700">
                出箱操作相关数据：</td>
        </tr>
        <tr>
            <td rowspan="2">
                <asp:DetailsView ID="DetailsView9" runat="server" AutoGenerateRows="False" 
                    BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                    CellPadding="3" ForeColor="Black" GridLines="Vertical" Height="50px" 
                    Width="322px" ondatabound="DetailsView9_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="OutBoxTime" HeaderText="出箱时间" 
                            DataFormatString="{0:G}" >
                            <ItemStyle Width="60%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OutBoxUser" HeaderText="出箱操作员" />
                        <asp:BoundField DataField="OutBoxU" HeaderText="出箱电压" />
                        <asp:BoundField DataField="OutBoxI" HeaderText="出箱电流" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
        </tr>
        <tr>
            <td>
                共<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>个</td>
        </tr>
    </table>
</div> 